package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-08-30
 */
@TableName("nb_gpc_wt")
public class NbGpcWt extends Model<NbGpcWt> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("g_scode")
    private String gScode;
    @TableField("g_price")
    private Double gPrice;
    @TableField("g_num")
    private Double gNum;
    @TableField("g_b_type")
    private Long gBType;
    @TableField("g_is_b")
    private Long gIsB;
    @TableField("g_is_c")
    private Long gIsC;
    @TableField("g_time")
    private Date gTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getgScode() {
        return gScode;
    }

    public void setgScode(String gScode) {
        this.gScode = gScode;
    }

    public Double getgPrice() {
        return gPrice;
    }

    public void setgPrice(Double gPrice) {
        this.gPrice = gPrice;
    }

    public Double getgNum() {
        return gNum;
    }

    public void setgNum(Double gNum) {
        this.gNum = gNum;
    }

    public Long getgBType() {
        return gBType;
    }

    public void setgBType(Long gBType) {
        this.gBType = gBType;
    }

    public Long getgIsB() {
        return gIsB;
    }

    public void setgIsB(Long gIsB) {
        this.gIsB = gIsB;
    }

    public Long getgIsC() {
        return gIsC;
    }

    public void setgIsC(Long gIsC) {
        this.gIsC = gIsC;
    }

    public Date getgTime() {
        return gTime;
    }

    public void setgTime(Date gTime) {
        this.gTime = gTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "NbGpcWt{" +
        "id=" + id +
        ", gScode=" + gScode +
        ", gPrice=" + gPrice +
        ", gNum=" + gNum +
        ", gBType=" + gBType +
        ", gIsB=" + gIsB +
        ", gIsC=" + gIsC +
        ", gTime=" + gTime +
        "}";
    }
}
